package com.pingan.generator.api.entity.mapper;

import java.util.List;
import java.util.Map;

import com.pingan.generator.api.entity.InterFaceInfo;
import com.pingan.generator.api.entity.base.BaseMapper;

public interface InterFaceMapper extends BaseMapper<InterFaceInfo>{
	
	public void saveObject(InterFaceInfo info);
	
	/**
	 * 获取有效的url
	 * @param url
	 * @return
	 */
	public InterFaceInfo getInfo(String url);

	/**
	 * 查询所有的API接口
	 * @return
	 */
    public List<InterFaceInfo> getApiList();
    
    /**
     * 确认API接口
     * @param id
     */
    public void sureAPI(long id);
    
    /**
     * 接口发生变化更新接口
     */
    public int updateStatus(Map<String,Object> paraMap);
}
			